<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>
  <head>
    <title>jQuery WeUI</title>
    <meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">

<meta name="description" content="Write an awesome description for your new site here. You can edit this line in _config.yml. It will appear in your document head meta (for Google search results) and in your feed.xml site description.
">
<link rel="stylesheet" href="/movie/Movie_version_1.1/movie/Public/html/jquery-weui/lib/weui.min.css">
<link rel="stylesheet" href="/movie/Movie_version_1.1/movie/Public/html/jquery-weui/css/jquery-weui.css">
<link rel="stylesheet" href="/movie/Movie_version_1.1/movie/Public/html/jquery-weui/demos/css/demos.css">
<link rel="stylesheet" href="/movie/Movie_version_1.1/movie/Public/bootstrap/css/bootstrap.min.css">

  </head>

  <body ontouchstart>

    <div class="weui_tab">
      <div class="weui_navbar">
    <a href="<?php echo U('index',['time'=>1,'mvid'=>$mid]);?>"><div class="weui_navbar_item <?php echo $td?'weui_bar_item_on':'' ?>">
          今天<?php echo ($today); ?></a>
        </div>
       <a href="<?php echo U('index',['time'=>2,'mvid'=>$mid]);?>"><div class="weui_navbar_item <?php echo $tm?'weui_bar_item_on':'' ?>">
          明天<?php echo ($tomorrow); ?></a>
        </div>
      <a href="<?php echo U('index',['time'=>3,'mvid'=>$mid]);?>"><div class="weui_navbar_item <?php echo $ac?'weui_bar_item_on':'' ?>">
          后天<?php echo ($acquired); ?></a>
        </div>
      <a href="<?php echo U('index',['time'=>4,'mvid'=>$mid]);?>"><div class="weui_navbar_item <?php echo $wk?'weui_bar_item_on':'' ?>">
          本周<?php echo ($week); ?></a>
        </div>
      </div>
      <div class="weui_tab_bd">
        <div class="weui_panel weui_panel_access">
          <div class="weui_panel_bd">
          <?php if(empty($data)): ?><center><p style="font-size:30px" class="weui_panel_ft">暂无电影院上映</p>
          <?php else: ?></center> 
          <?php if(is_array($data)): foreach($data as $key=>$val): ?><a href="<?php echo U('season',['id'=>$val['uid'],'time'=>1,'uname'=>$val['uname'],'uadd'=>$val['uadd']]);?>" style="text-decoration:none;"><div class="weui_media_box weui_media_text">
              <h4 class="weui_media_title"><?php echo ($val['uname']); ?></h4>
              <p class="weui_media_desc"><?php echo ($val['uadd']); ?></p>
              <p class="weui_media_desc">最近场次:<?php echo ($val['time']); ?></p>
            </div></a><?php endforeach; endif; endif; ?>
        </div>
      </div>

    <div class="weui_tabbar">
        <a href="<?php echo U('Index/index');?>" class="weui_tabbar_item weui_bar_item_on">
            <div class="weui_tabbar_icon">
                <span class="glyphicon glyphicon-home" style="font-size: 22px;"></span>
            </div>
            <p class="weui_tabbar_label">主页</p>
        </a>
        <a href="javascript:;" class="weui_tabbar_item">
            <div class="weui_tabbar_icon">
                <span class="glyphicon glyphicon-facetime-video" style="font-size: 22px;"></span>
            </div>
            <p class="weui_tabbar_label">影院</p>
        </a>
        <a href="javascript:;" class="weui_tabbar_item">
            <div class="weui_tabbar_icon">
                <span class="glyphicon glyphicon-gift" style="font-size: 22px;"></span>
            </div>
            <p class="weui_tabbar_label">周边</p>
        </a>
        <a href="<?php echo U('Member/index');?>" class="weui_tabbar_item">
            <div class="weui_tabbar_icon">
                <span class="glyphicon glyphicon-user" style="font-size: 22px;"></span>
            </div>
            <p class="weui_tabbar_label">我的</p>
        </a>
    </div>
</div>

<script src="/movie/Movie_version_1.1/movie/Public/html/jquery-weui/lib/jquery-2.1.4.js"></script>
<script src="/movie/Movie_version_1.1/movie/Public/html/jquery-weui/js/jquery-weui.js"></script>

  </body>
</html>